import { DataDiff, MetaObject } from "./Meta";

export interface LayerPersistData {
    id: string;
    name: string;
    alpha: number;

    visible: boolean;
    userLock: boolean;
    history: MetaObject<DataDiff[]>[];
}
export interface PixelFile {
    id: string;
    name: string;
    version: string;
    user: string;
    height: number;
    width: number;
    createdAt: number;
    updatedAt: number;
    layers: LayerPersistData[];
}
